<template>
<div class="aasa">
      <div class="title-item">
        <span>
          <Svgs style="font-size: 20px" :ids="ids"></Svgs>
        </span>
        <span>{{message}}</span>
        <span>~~</span>
      </div>
       <span class="abs"></span>
</div>
 
</template>

<script>
import Svgs from "../svg/svg.vue";
export default {
    name:"Title",
    components:{
        Svgs
    },
    props:["message",'ids']
}
</script>

<style scoped>
    
.block-weacher .weacher-title .title-item {
  width: 100%;
  height: 100%;
}

.abs {
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: #2882c5;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.5s linear;
}
.aasa:hover .abs {
  transform: scaleX(1);
  transition: all 0.5s linear;
  opacity: 1;
}
.title-item > span {
  color: #757677;
  line-height: 47px;
  margin-left: 8px;
}
.title-item > span:nth-child(1) {
  margin-left: 12px;
}
</style>